package com.qf.shop.system.modules.user.service.impl;

import com.qf.shop.system.utils.PageUtils;
import com.qf.shop.system.utils.Query;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.qf.shop.system.modules.user.dao.WeiXinUserDao;
import com.qf.shop.system.modules.user.entity.WeiXinUserEntity;
import com.qf.shop.system.modules.user.service.WeiXinUserService;


@Service("weiXinUserService")
public class WeiXinUserServiceImpl extends ServiceImpl<WeiXinUserDao, WeiXinUserEntity> implements WeiXinUserService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<WeiXinUserEntity> page = this.page(
                new Query<WeiXinUserEntity>().getPage(params),
                new QueryWrapper<WeiXinUserEntity>()
        );

        return new PageUtils(page);
    }

}